# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.

class ApplicationController < ActionController::Base
  # Pick a unique cookie name to distinguish our session data from others'
  session :session_key => '_tvienes_session_id'
  require 'extend_string'
  require 'extend_dates'
  require 'copiagenda'
  require 'hpricot'
  require 'gmailer'
  include Copiagenda
  include AuthenticatedSystem
  
  RENDER_404_OPTIONS =  { :template => 'shared/404', :status => '404' }
    
  def render_404
    render RENDER_404_OPTIONS
  end
  
end
